package org.dromara.system.service.impl;

import org.dromara.system.domain.vo.TestUserOrderVo;
import org.dromara.system.mapper.TestUserMapper;
import org.dromara.system.service.ITestUserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author: gxp
 * @desc: todo
 * @create: 2024-09-05 17:38
 **/
@Service
public class TestUserServiceImpl implements ITestUserService {
    @Resource
    private TestUserMapper testUserMapper;
    @Override
    public List<TestUserOrderVo> selectOrderList() {
        return testUserMapper.listAllOrder();
    }

    @Override
    public List<TestUserOrderVo> listAllOrderByUserId(Long userId) {
        return testUserMapper.listAllOrderByUserId(userId);
    }
}
